home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / espquery.z / espquery
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. eeeessssppppqqqquuuueeeerrrryyyy((((1111))))                                                        eeeessssppppqqqquuuueeeerrrryyyy((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      espquery - Database query for Embedded Support Partner
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      eeeessssppppqqqquuuueeeerrrryyyy [----tttthhhh] [----uuuu username] [----pppp password] [----nnnn hostname] ----ssss sqlstring dbname
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _e_s_p_q_u_e_r_y is a command that is designed to perform limited set of
  16.      operations on the database in the Embedded Support Partner The command is
  17.      provided mostly for use by tools that are script in nature, yet need an
  18.      interface to the SSDB. The tools would have to have intimate knowledge of
  19.      the schema in the SSDB and the rights to access the database. The
  20.      operations on the on the SSDB are limited to:
  21.  
  22.      SSSSEEEELLLLEEEECCCCTTTT
  23.      DDDDEEEESSSSCCCCRRRRIIIIBBBBEEEE
  24.      SSSSHHHHOOOOWWWW
  25.  
  26.      The _d_b_n_a_m_e is a mandatory argument and must be at the end after the
  27.      option list.
  28.  
  29.      The _e_s_p_q_u_e_r_y command has the following options:
  30.  
  31.      ----tttt           Option to disable the printing of headers. With this option,
  32.                   data is displayed without any header information.
  33.  
  34.      ----hhhh           Help command. This option will print out the usage for the
  35.                   command.
  36.  
  37.      ----uuuu _u_s_e_r_n_a_m_e  The username for accessing the data in the SSDB. The SSDB
  38.                   will have set users that have privileges to access the data.
  39.                   This option is mandatory.
  40.  
  41.      ----pppp _p_a_s_s_w_o_r_d  The password for the account to access data in the SSDB.
  42.  
  43.      ----nnnn _h_o_s_t_n_a_m_e  Option to connect to a different host that is running the
  44.                   SSDB. By default the hostname is set to localhost. This
  45.                   option is mandatory.
  46.  
  47.      ----ssss _s_q_l_s_t_r_i_n_g The SQL query that is to be performed on the database. The
  48.                   sqlstring must be enclosed in double quotes ("").
  49.  
  50.           eeeessssppppqqqquuuueeeerrrryyyy ----uuuu sss ----pppp sss ----ssss "select * from event" ssdatabase
  51.  
  52.      The above command connects to the database called ssdatabase on the local
  53.      system using the account sss password sss. A select of all records from
  54.      the table called event is performed.
  55.  
  56. EEEEXXXXAAAAMMMMPPPPLLLLEEEE 2222
  57.           eeeessssppppqqqquuuueeeerrrryyyy ----nnnn neetu.csd.sgi.com ----uuuu sss ----pppp sss ----ssss "select * from event"
  58.           ssdatabase
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. eeeessssppppqqqquuuueeeerrrryyyy((((1111))))                                                        eeeessssppppqqqquuuueeeerrrryyyy((((1111))))
  71.  
  72.  
  73.  
  74.      The above connects to the database called ssdatabase on the host called
  75.      neetu.csd.sgi.com using the account sss password sss. A select of all
  76.      records from the table called event is performed.
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.